package com.fsxgt.datagrid.sys.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.fsxgt.datagrid.sys.bo.SysUserBO;
@Repository
@Mapper
public interface SysUserMapper {
	
	SysUserBO getSysUserByUsername(@Param("username")String username);
	SysUserBO getSysUser(@Param("id")Long id);
	
	void insertSysUser(SysUserBO sysUserBO);
	void deleteSysUser(@Param("id")Long id);
	
	void updateSysUser(SysUserBO sysUserBO);
	
	List<SysUserBO> findSysUser(SysUserBO sysUserBO);
	
	
	
	
	void updatePassword(SysUserBO sysUserBO);
	
	List<Map> findRootMenu();
	

	
	

	
}
